const app = getApp();

// // 上传图片
// export const postUpload = (params) =>
//   axios("/admin_api/v1/common/image/upload/", params, "POST", true);
export const uploadImg = (params) =>
  app.uploadFile("/common/image/upload/", params, true);

export const getCustomerInfo = (appInstance = app) =>
  appInstance.get("/common/customer_info/", {}, true);
